package com.fumin.service.impl;

import com.fumin.mapper.ProjectInformMapper;
import com.fumin.pojo.ProjectInform;
import com.fumin.service.ProjectInformService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * Created by Lingo on 2018/3/15.
 */
@Service
public class ProjectInformServiceImpl implements ProjectInformService {

    @Resource
    ProjectInformMapper projectInformMapper;

    @Override
    public int deleteByPrimaryKey(Long pk) {
        return projectInformMapper.deleteByPrimaryKey(pk);
    }

    @Override
    public int insert(ProjectInform record) {
        return projectInformMapper.insert(record);
    }

    @Override
    public int insertSelective(ProjectInform record) {
        return projectInformMapper.insertSelective(record);
    }

    @Override
    public ProjectInform selectByPrimaryKey(Long pk) {
        return projectInformMapper.selectByPrimaryKey(pk);
    }

    @Override
    public int updateByPrimaryKeySelective(ProjectInform record) {
        return projectInformMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKeyWithBLOBs(ProjectInform record) {
        return projectInformMapper.updateByPrimaryKeyWithBLOBs(record);
    }

    @Override
    public int updateByPrimaryKey(ProjectInform record) {
        return projectInformMapper.updateByPrimaryKey(record);
    }


}
